package com.allprs.hmcs.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author wjf
 * @描述: 涵闸实体
 * @date 2024年06月11日
 * @version: 1.0
 */

@Data
@TableName(value = "culvert",schema = "city")
public class Culvert {

    @ApiModelProperty(value = "主键")
    private int id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "桩号")
    private String stake;

    @ApiModelProperty(value = "建成时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date buildTime;

    @ApiModelProperty(value = "加固时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date fortityTime;

    @ApiModelProperty(value = "闸身结构")
    private String bodyStructure;

    @ApiModelProperty(value = "闸门结构")
    private String doorStructure;

    @ApiModelProperty(value = "闸孔数")
    private String holeNum;

    @ApiModelProperty(value = "闸孔尺寸")
    private String holeSize;

    @ApiModelProperty(value = "设计流量")
    private String designFlow;

}
